import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import routre from './router';
import store from './store';
import { RouterProvider } from 'react-router-dom';
import { ConfigProvider } from 'react-vant'
import { Provider } from 'react-redux';


const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <ConfigProvider>
      <Provider store={store}>
        <RouterProvider router={routre} />
      </Provider>

    </ConfigProvider>
  </React.StrictMode>
);
